-
Notifications
You must be signed in to change notification settings - Fork 621
Dashboard: Fix timestamp ordering in various charts, migrate them to use ThirdwebBarChart #6636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6636 +/- ##
=======================================
Coverage 54.98% 54.98%
=======================================
Files 888 888
Lines 55753 55753
Branches 3816 3816
=======================================
Hits 30653 30653
Misses 25005 25005
Partials 95 95
🚀 New features to boost your workflow:
|
size-limit report 📦
|
28d6015 to
9dc7e91
Compare
apps/dashboard/src/components/smart-wallets/AccountAbstractionAnalytics/storyUtils.ts
Show resolved
Hide resolved
Merge activity
|
…use ThirdwebBarChart (#6636) <!-- start pr-codex --> ## PR-Codex overview This PR primarily focuses on updating various components to improve chart functionalities and data handling in the dashboard, including the introduction of the `ThirdwebBarChart`. It also refines date handling and enhances the user interface for better data representation. ### Detailed summary - Updated date handling in `stubbedData` from February to December. - Introduced `BadgeContainer` for displaying time ranges in `TotalSponsoredChartCard`. - Enhanced `searchParams` structure in the analytics page to include `from` and `to` dates. - Added `customHeader`, `toolTipValueFormatter`, and `emptyChartState` to `ThirdwebBarChart`. - Replaced `BarChart` with `ThirdwebBarChart` in multiple components for consistency. - Improved data mapping and sorting in `TotalSponsoredChartCard`. - Created new stubs for `EcosystemWalletUsersChartCard` to simulate user data over various days. - Refactored empty state components to improve user guidance when no data is available. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
9dc7e91 to
1e092a7
Compare

PR-Codex overview
This PR focuses on improving various components related to analytics in the dashboard, including date handling, chart configurations, and UI enhancements for better data representation.
Detailed summary
storyUtils.ts.BadgeContainerinTotalSponsoredChartCard.stories.tsx.page.tsxfor date ranges.ThirdwebBarChartproperties for better tooltip formatting.BarChartwithThirdwebBarChartin multiple components, improving chart rendering.TotalSponsoredChartCard.EcosystemWalletUsersChartCardshowcasing various states.